home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005 / CHIP Utilities 2005.iso / docs / freedos / www.cgsecurity.org / phpwiki / themes / Sidebar / sidebar.css
Encoding:
Cascading Style Sheet File  |  2003-02-28  |  4.0 KB  |  214 lines

  1. /**
  2.  * $Id: sidebar.css,v 1.18 2003/02/27 23:55:51 dairiki Exp $
  3.  *
  4.  * This incarnation of this stylesheet is a complete rewrite from the
  5.  * ground up.
  6.  * 
  7.  * It renders excellent with Mozilla and very good with IE5.1Mac.
  8.  * 
  9.  * No floats are used, for older versions of ie (which apparently hang).
  10.  *
  11.  * OmniWeb is totally useless with this stylesheet.
  12.  * This also has not yet been tested against NS4.
  13.  * 
  14.  */
  15. @import url("../default/phpwiki.css");
  16.  
  17.  
  18. /**
  19.  * General settings
  20.  */
  21. body {
  22.   margin-top: 6ex; /* area under fixed h1 */
  23.   margin-left: 13em;
  24.   padding-bottom: 4ex; /* area under fixed #actionbar (editdate) */ 
  25. }
  26.  
  27. div.wikitext {
  28.   margin-left: 0.5em;
  29.   /* "paper" borders */
  30.   border-top:  1px solid #e8e6df;
  31.   border-left: 1px solid #e8e6df;
  32.   border-bottom: 1px solid #b2b2b2;
  33.   border-right:  1px solid #b2b2b2;
  34. }
  35.  
  36. /** some border colors
  37.  ** to play with
  38.   #d3d2c8;
  39.   #e8e6df;
  40.   #6d6a5c;
  41.   #b3ae97;
  42.  **/
  43.  
  44. div#logo img {
  45.   position: fixed;
  46.   left: 1em;
  47.   top:  1.5ex;
  48. }
  49.  
  50. h1 {
  51.   position: fixed;
  52.   top: 0;
  53.   background: ivory;
  54.   padding-top:    0.5ex;
  55.   padding-bottom: 0.5ex;
  56.   padding-left: 0.25em;
  57.   width: 100%;
  58.   border-bottom: 2px solid black;
  59. }
  60.  
  61. h1 a.backlinks { text-decoration: none; }
  62.  
  63.  
  64. /**
  65.  * Common toolbar settings
  66.  * Note that div.toolbar is used for other toolbars besides
  67.  * #navbar and #actionbar, such as in editpage and removepage
  68.  */
  69. #navbar hr, #actionbar hr { display: none; }
  70.  
  71. #navbuttons, #actionbuttons, #signin { line-height: 2.4ex; }
  72.  
  73. /* Make the buttons as wide as the containing box */
  74. #navbuttons a.wikiaction, #actionbuttons a.wikiaction, #signin a.wikiaction,
  75. #navbuttons a.wikiadmin, #actionbuttons a.wikiadmin, #signin a.wikiadmin
  76. {
  77.   display: block;
  78.   margin-bottom: 0.5ex;
  79.   line-height: 100%;
  80.   text-align: center;
  81.   /* ie5.1mac ignores this! */
  82.   width: 9.25em;
  83.   max-width: 9.25em;
  84.  
  85.   border-top:  1px solid #eee;
  86.   border-left: 1px solid #eee;
  87.   border-bottom: 1px solid #999;
  88.   border-right:  1px solid #999;
  89.  
  90. }
  91.  
  92. #navbuttons, #actionbuttons, #signin {
  93.   color: black;
  94.   background: white;
  95.   text-align: left;
  96.   position: fixed;
  97.   left:   0.5em;
  98.   /* ie5.1 ignores max-width and sets the box
  99.      width to the width of the whole page.
  100.      ARGH! The buttons look so much better
  101.      with max-width instead of width... */
  102.   width: 10.5em;
  103.   max-width: 10.5em;
  104.  
  105.   padding-left:  0.5em;
  106.   padding-right: 0.5em;
  107.   padding-top:    0.6ex;
  108.   padding-bottom: 0.25ex;
  109.  
  110.   border-top:  1px solid #e8e6df;
  111.   border-left: 1px solid #e8e6df;
  112.   border-bottom: 1px solid #d3d2c8;
  113.   border-right:  1px solid #e8e6df;
  114. }
  115. #navbuttons input { margin-bottom: 0.5ex; }
  116.  
  117.  
  118. /**
  119.  * Navigation links
  120.  */
  121. div#navbuttons:before {
  122.   /* bonus for css2 browsers */
  123.   display: block;
  124.   content: "PhpWiki Navigation"; /* localise with dynamic css? */
  125.   border-bottom: 2px solid black;
  126. }
  127. #navbuttons { top: 9ex; }
  128.  
  129.  
  130. /**
  131.  * Action links
  132.  */
  133. div#actionbuttons:before {
  134.   /* bonus for css2 browsers */
  135.   display: block;
  136.   content: "Actions"; /* localise with dynamic css? */
  137. }
  138. div#actionbuttons { bottom: 12ex; }
  139.  
  140.  
  141. /**
  142.  * Sign In
  143.  */
  144. div#signin { position: fixed; bottom: 0; }
  145. div#signin
  146. {
  147.  margin-bottom: 1ex;
  148. }
  149.  
  150. /**
  151.  * Last edited
  152.  *
  153.  * Really the only thing left in in #actionbar
  154.    at this point is the date, everything else
  155.    has been plucked out. */
  156. p.editdate {
  157.   background: white;
  158.   padding: 0.25ex 0.5em;
  159.   border-top:  1px solid #e8e6df;
  160.   border-left: 1px solid #e8e6df;
  161.   border-bottom: 1px solid #d3d2c8;
  162.   border-right:  1px solid #e8e6df;
  163.  
  164.   margin-left:  0.5em;
  165.   margin-right: 1em;
  166.   margin-top:   0.5ex;
  167.   margin-bottom: 0.5ex;
  168. }
  169.  
  170. div#actionbar {
  171.   color: black;
  172.   background: ivory;
  173.   border-top: 1px solid #b2b2b2;
  174.   width: auto;
  175.   position: fixed;
  176.   left:  13em;
  177.   bottom: 0;
  178.   margin: 0;
  179. }
  180.  
  181.  
  182. /**
  183.  * Other
  184.  */
  185. .debug {
  186.   position: fixed;
  187.   left: 0.5em;
  188.   top: 42ex;
  189.   width: 12em;
  190.   max-width: 12em; /* ie ignores this */
  191. }
  192.  
  193. /*
  194. div#xhtml-validator { display: none; }
  195.  */
  196.  
  197. div#xhtml-validator {
  198.   position: fixed;
  199.   right: 0.75em;
  200.   top: 1ex;
  201. }
  202.  
  203. .clear-floats {
  204.   clear: both;
  205. }
  206.  
  207. /* For emacs users
  208.  *
  209.  * Local Variables:
  210.  * mode: c
  211.  * c-file-style: cc-mode
  212.  * End:
  213.  */
  214.